Skip to content

Add warning-level ShellCheck profile#114

Merged
codeforester merged 1 commit into
mainfrom
ci/93-20260701-shellcheck-warning-profile
Jul 4, 2026
Merged

Add warning-level ShellCheck profile#114
codeforester merged 1 commit into
mainfrom
ci/93-20260701-shellcheck-warning-profile

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • Add tests/lint-warnings.sh as a warning-level ShellCheck profile for the repository's Bash scripts, examples, libraries, and shared test helpers.
  • Keep ./tests/validate.sh as the stable error-level validation gate while checking the new warning script for error-level ShellCheck issues.
  • Document intentional ShellCheck exceptions near dynamic source paths, cross-file marker variables, BATS-compatible globals, and the supported-Bash re-exec path.

Issue

Fixes #93

Validation

  • tests/lint-warnings.sh
  • ./tests/validate.sh
  • git diff --check origin/main...HEAD

Notes

  • Refreshed the old ci/93-20260701-shellcheck-warning-profile branch onto current main and force-pushed with lease so the stale remote branch state is gone.

@codeforester codeforester marked this pull request as ready for review July 4, 2026 02:35
@codeforester codeforester merged commit 4137e0d into main Jul 4, 2026
2 checks passed
@codeforester codeforester deleted the ci/93-20260701-shellcheck-warning-profile branch July 4, 2026 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make ShellCheck warning-level validation actionable

1 participant